package cc.comac.mom.api;

import java.util.List;
import java.util.Map;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import cc.comac.mom.bean.QarRestrictedPart;
import cc.comac.mom.entity.QarRestrictedPartEntity;
import cc.comac.mom.entity.print.RestrictedPartItemPrint;
import cc.comac.mom.util.ResultBean;

@FeignClient(name = "mom-qar-srv")
public interface QarRestrictedPartService {

	@RequestMapping(value = "/p/cs/QarRestrictedPartService/updateCheckData")
	public ResultBean updateCheckData(@RequestBody List<QarRestrictedPart> list);
	
	@RequestMapping(value = "/p/cs/QarRestrictedPartService/batchInsertCheckData")
	public ResultBean batchInsertCheckGetData(@RequestBody QarRestrictedPartEntity list);
	
	@RequestMapping(value = "/p/cs/QarRestrictedPartService/selectPrintData")
	public RestrictedPartItemPrint selectPrintData(@RequestBody Map<String,String> map);
	
}
